<!DOCTYPE html>
<html>
<head>
	<title>添加奖励规则</title>
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">产品</label>
		<div class="layui-input-block">
			<select name="goodsId" lay-filter="aihao">
			</select>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">数量</label>
		<div class="layui-input-block">
			<select name="cond" lay-filter="aihao">
				<option value="1">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">奖励对象</label>
		<div class="layui-input-block">
			<select name="userChose" lay-filter="aihao">
				<option value="1">本人</option>
				<option value="2">推荐人</option>
				<option value="3">推荐人的推荐人</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">被奖励角色</label>
		<div class="layui-input-block">
			<select name="toPatherRole" lay-filter="aihao">
				<option value="0">普通会员</option>
				<option value="1">提供商</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">等级</label>
		<div class="layui-input-block">
			<select name="toPatherLevel" lay-filter="aihao">
				<option value="0">无</option>
				<option value="1">初级</option>
				<option value="2">中级</option>
				<option value="3">高级</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">奖励金额</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input aumt"  name="aumt" lay-verify="required" placeholder="请输入金额">
		</div>
	</div>

	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn" lay-submit="" lay-filter="addRule">立即添加</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="${request.contextPath}/static/js/modules/business/ruleAdd.js"></script>
</body>
</html>